package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.entity.ResultsInfoEntity;

import java.util.List;
import java.util.Map;

public interface IndScoAnalyseService extends IService<ResultsInfoEntity> {

//学生总成绩
        Float getTotalScoreByStudent(long studentId);
//学生平均成绩
        Float getAverageScoreByExam(long examId);
//学生最高分
        Float getHighestScoreByExam(long examId);
//学生最低分
        int getPassCountByExam(long examId, Float passingScore);
//获取学生成绩
        List<ResultsInfoEntity> getStudentScoresByExam(long examId);
//分析学生答案
        Map<String, Integer> analyzeStudentAnswers(long studentId, long examId);
    }
